/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LEGION
 * Date: 2023-04-20
 * Time: 16:52
 */
public class J230421 {
    public static void main(String[] args) {
        int[] arr = {1,5,7,8,9,5,4,2,6,70};
        for (int x:arr) {
            System.out.print(x+" ");
        }
    }
    public static void main1(String[] args) {
        System.out.println(max(4.5,4.9,4.7));
    }
    public static int max(int a,int b) {
        return Math.max(a,b);
    }
    public static double max(double a,double b,double c) {

        double m = Math.max(a,b);
        return Math.max(m,c);
    }
}
